package com.twu.biblioteca;

import java.util.ArrayList;


/**
 * Created by Nishi on 28/12/13.
 */
public class Book {
    private String bookName;
    private int availableQuantity;

    public Book(){
    }

    public Book(String bookName,int availableQuantity ){
        this.bookName =bookName;
        this.availableQuantity = availableQuantity;
    }

    public String toString() {
        return ( bookName +"\t\t"+availableQuantity+"\n");
    }

    public String getBookName(){
        return bookName;
    }
    public int getAvailableQuantity(){
        return availableQuantity;
    }
    public void setAvailableQuantity(int number){
        this.availableQuantity=number;
    }

}

